<?php

namespace App\Http\Controllers\Admin;

use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Libs\TreeMenu;
use auth;


class BaseController extends Controller
{
    public $user; //已登陆用户信息
    /**
     * Create a new controller instance.
     *
     * @return void
     */
    public function __construct()
    {
        $this->middleware('auth');
        $treeMenu = new TreeMenu();
        $treeMenu->show();
    }
}
